package com.zh.onlineexam.entity;

import cn.hutool.db.DaoTemplate;
import com.baomidou.mybatisplus.annotation.*;
import com.sun.org.apache.xml.internal.security.keys.keyresolver.implementations.PrivateKeyResolver;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.aspectj.weaver.AjAttribute;

import java.io.Serializable;
import java.security.KeyStore;
import java.util.Date;

/**
 * @classNamw TUserToken
 * @Description TODO
 * @Auther 29934
 * @Date 2022/8/7 15:43
 * @Version 1.0
 **/
@TableName("t_user_token")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class TUserToken implements Serializable{
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String token;
    private Integer userId;
    private String wxOpenId;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    private Date endTime;
    private String userName;
}
